sicklylife [Mon, 31 Aug 2020 14:30:59 +0000 (14:30 +0000)]
Update Japanese translation
Boyuan Yang [Mon, 31 Aug 2020 13:44:27 +0000 (13:44 +0000)]
Update Chinese (China) translation
Rafael Fontenelle [Mon, 31 Aug 2020 11:12:54 +0000 (11:12 +0000)]
Update Brazilian Portuguese translation
Jakub Steiner [Mon, 31 Aug 2020 09:27:29 +0000 (11:27 +0200)]
Merge branch 'nana-4/gtk-fix-circular-button-styling'
nana-4 [Fri, 28 Aug 2020 12:56:30 +0000 (21:56 +0900)]
Adwaita: Ensure button.circular is a perfect circle
It seems the commit
9d60047616661dc073ca6310193c2e18a3aaa59c had no
effect, even on image buttons.
Jakub Steiner [Mon, 17 Aug 2020 11:18:07 +0000 (13:18 +0200)]
Adwaita: rich-list styling
FIXME: why is the second list in Demo>List Box>Controls taller?
Yuri Chornoivan [Mon, 31 Aug 2020 06:13:57 +0000 (06:13 +0000)]
Update Ukrainian translation
Kukuh Syafaat [Mon, 31 Aug 2020 06:04:08 +0000 (06:04 +0000)]
Update Indonesian translation
Kukuh Syafaat [Mon, 31 Aug 2020 06:02:57 +0000 (06:02 +0000)]
Update Indonesian translation
Matthias Clasen [Sun, 30 Aug 2020 22:01:45 +0000 (22:01 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3104
See merge request GNOME/gtk!2507
Matthias Clasen [Sun, 30 Aug 2020 17:14:55 +0000 (13:14 -0400)]
Better fontconfig suppression
Matthias Clasen [Sun, 30 Aug 2020 17:11:39 +0000 (13:11 -0400)]
inspector: Add some translator comments
Some of the strings we have here are hard to translate,
so leave some hints, and some context.
Fixes: #3104
Matthias Clasen [Sun, 30 Aug 2020 12:59:13 +0000 (08:59 -0400)]
inspector: Add a dark background to the recorder
Add a button to toggle the background in the node
view between dark and light. This helps to discern
the borders of some nodes.
Matthias Clasen [Sun, 30 Aug 2020 12:34:30 +0000 (08:34 -0400)]
Another attempt to make circular buttons square
circular button, square hole...
Matthias Clasen [Sun, 30 Aug 2020 12:29:24 +0000 (12:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3098
See merge request GNOME/gtk!2506
Bruce Cowan [Sun, 30 Aug 2020 11:46:48 +0000 (11:46 +0000)]
Update British English translation
Asier Sarasua Garmendia [Sun, 30 Aug 2020 10:26:53 +0000 (10:26 +0000)]
Update Basque translation
Asier Sarasua Garmendia [Sun, 30 Aug 2020 10:23:55 +0000 (10:23 +0000)]
Update Basque translation
Matthias Clasen [Sat, 29 Aug 2020 20:42:30 +0000 (16:42 -0400)]
gtk-demo: Cosmetic change to the css shadows demo
Make the text view in the bottom take up the bulk
of the window, as it used to be.
Matthias Clasen [Sat, 29 Aug 2020 20:29:28 +0000 (16:29 -0400)]
page setup dialog: Prevent cascading paper dialogs
We trigger the paper dialog when the "manage" item
in the dropdown is selected. But the selection also
changes due to internal changes, such as reloading
the custom paper list when the paper dialog is
closed. We need to be extra careful to avoid triggering
another paper dialog when that happens.
Fixes: #3098
Matthias Clasen [Sat, 29 Aug 2020 20:00:01 +0000 (16:00 -0400)]
print dialog: Prevent cascading paper dialogs
We trigger the paper dialog when the "manage" item
in the dropdown is selected. But the selection also
changes due to internal changes, such as reloading
the custom paper list when the paper dialog is
closed. We need to be extra careful to avoid triggering
another paper dialog when that happens.
Matthias Clasen [Sat, 29 Aug 2020 17:37:18 +0000 (17:37 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
See merge request GNOME/gtk!2504
Matthias Clasen [Sat, 29 Aug 2020 16:12:09 +0000 (12:12 -0400)]
css: Fix parsing of scientific notation
The parser got its chars mixed up while parsing numbers
like 2.3e-04. While it is unlikely to meet such numbers
in human-generated css, we do have them e.g. when saving
render node trees with transforms.
Also add some css parser tests for number parsing.
Boyuan Yang [Sat, 29 Aug 2020 15:22:48 +0000 (15:22 +0000)]
Update Chinese (China) translation
Boyuan Yang [Sat, 29 Aug 2020 14:19:45 +0000 (14:19 +0000)]
Update Chinese (China) translation
Piotr Drąg [Sat, 29 Aug 2020 08:55:11 +0000 (10:55 +0200)]
Update POTFILES.skip
Changwoo Ryu [Sat, 29 Aug 2020 03:57:33 +0000 (03:57 +0000)]
Update Korean translation
Changwoo Ryu [Sat, 29 Aug 2020 03:56:51 +0000 (03:56 +0000)]
Update Korean translation
Matthias Clasen [Sat, 29 Aug 2020 03:54:32 +0000 (03:54 +0000)]
Merge branch 'issue-3099' into 'master'
demo: Fix the resource path for css_pixbufs demo
Closes #3099
See merge request GNOME/gtk!2500
Emmanuele Bassi [Fri, 28 Aug 2020 17:37:26 +0000 (18:37 +0100)]
demo: Fix the resource path for css_pixbufs demo
Fixes: #3099
Asier Sarasua Garmendia [Fri, 28 Aug 2020 10:26:30 +0000 (10:26 +0000)]
Update Basque translation
Matthias Clasen [Fri, 28 Aug 2020 00:49:55 +0000 (20:49 -0400)]
NEWS: Updates
Matthias Clasen [Thu, 27 Aug 2020 20:24:34 +0000 (20:24 +0000)]
Merge branch 'synthetic-motion' into 'master'
Synthetic motion
See merge request GNOME/gtk!2493
Matthias Clasen [Wed, 26 Aug 2020 11:57:07 +0000 (07:57 -0400)]
idle sizer: Request a motion event after layout
When we are reallocating widgets, make sure that
we get a motion event in the next frame cycle,
so the hover state gets updated.
Jordi Mas [Thu, 27 Aug 2020 18:54:16 +0000 (20:54 +0200)]
Update Catalan translation
Matthias Clasen [Fri, 21 Feb 2020 21:38:36 +0000 (16:38 -0500)]
Add a function to request motion events
We want to ensure that the pointer position is reflected
when widget geometry changes, so add a function that tells
GDK "please create a motion event at the current position
on this surface, if one doesn't happen already".
Matthias Clasen [Thu, 27 Aug 2020 17:04:34 +0000 (17:04 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
bookmarksmanager: Cancel async reads properly
See merge request GNOME/gtk!2495
Matthias Clasen [Thu, 27 Aug 2020 16:34:02 +0000 (12:34 -0400)]
bookmarksmanager: Cancel async reads properly
This was causing the objects-finalize test to fail in ci.
Matthias Clasen [Thu, 27 Aug 2020 12:12:52 +0000 (12:12 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Don't export gdk_surface_constrain_size
See merge request GNOME/gtk!2494
Matthias Clasen [Thu, 27 Aug 2020 11:31:45 +0000 (07:31 -0400)]
Don't export gdk_surface_constrain_size
It has one last use in gtkwindow.c, but that will
go away and doesn't need this function to be exported
anyway.
Kukuh Syafaat [Thu, 27 Aug 2020 03:03:54 +0000 (03:03 +0000)]
Update Indonesian translation
Matthias Clasen [Thu, 27 Aug 2020 00:08:45 +0000 (00:08 +0000)]
Merge branch 'wip/carlosg/shuffle-font-mouse-settings' into 'master'
Look up font and mouse settings in gsettings-desktop-schemas
See merge request GNOME/gtk!2489
Matthias Clasen [Wed, 26 Aug 2020 23:44:15 +0000 (23:44 +0000)]
Merge branch 'wip/exalm/hotspot-fix' into 'master'
wayland: Fix dnd hotspot movement
See merge request GNOME/gtk!2492
Alexander Mikhaylenko [Wed, 26 Aug 2020 23:04:48 +0000 (04:04 +0500)]
wayland: Fix dnd hotspot movement
_gdk_wayland_surface_offset_next_wl_buffer() moves the surface relatively
to its current position, pass it a delta instead of new position.
Matthias Clasen [Wed, 26 Aug 2020 22:34:08 +0000 (22:34 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
See merge request GNOME/gtk!2488
Carlos Garnacho [Wed, 26 Aug 2020 22:27:50 +0000 (00:27 +0200)]
gdk/wayland: Use double-click/drag-threshold settings from g-d-s
Handle both these settings, and the older settings-daemon ones for
backwards compatibility. The keys are already checked for existence
in the schema, so it will just use the existing ones.
Carlos Garnacho [Wed, 26 Aug 2020 22:18:09 +0000 (00:18 +0200)]
gdk/wayland: Look for font settings in gsettings-desktop-schemas
Prefer this location, but also look for the old location in
settings-daemon for backwards compatibility. This applies to both
direct settings lookups and via the settings portal.
Matthias Clasen [Wed, 26 Aug 2020 22:09:47 +0000 (18:09 -0400)]
gdk: Drop an unused vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:55:03 +0000 (16:55 -0400)]
gdk: Cosmetics
Matthias Clasen [Wed, 26 Aug 2020 20:52:03 +0000 (16:52 -0400)]
broadway: Fix up surface_at_position
Matthias Clasen [Wed, 26 Aug 2020 20:35:28 +0000 (16:35 -0400)]
win32: Fix return value of get_device_state
We need to look a the position, not the child surface.
Matthias Clasen [Wed, 26 Aug 2020 20:33:49 +0000 (16:33 -0400)]
wayland: Drop unused argument from query_state
Now that this is backend-only api, we can just
drop unused arguments.
Matthias Clasen [Wed, 26 Aug 2020 20:32:31 +0000 (16:32 -0400)]
wayland: Fix return value of get_device_state
We need to look a the position, not the child surface.
Matthias Clasen [Wed, 26 Aug 2020 20:28:09 +0000 (16:28 -0400)]
broadway: Drop unused argument from query_state
Now that this is backend-only api, we can just
drop unused arguments.
Matthias Clasen [Wed, 26 Aug 2020 20:24:57 +0000 (16:24 -0400)]
broadway: Fix return value of get_device_state
We need to look a the position, not the child surface.
Matthias Clasen [Wed, 26 Aug 2020 20:23:21 +0000 (16:23 -0400)]
x11: Drop unused argument from query_state
Now that this is backend-only api, we can just
drop unused arguments.
Matthias Clasen [Wed, 26 Aug 2020 20:20:34 +0000 (16:20 -0400)]
x11: Fix return value of get_device_state
We need to look a the position, not the child surface.
Matthias Clasen [Wed, 26 Aug 2020 20:09:14 +0000 (16:09 -0400)]
gdk: Drop the query_state vfunc
It is no longer used.
Matthias Clasen [Wed, 26 Aug 2020 20:06:11 +0000 (16:06 -0400)]
x11: Stop setting the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:05:54 +0000 (16:05 -0400)]
win32: Stop using the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:05:19 +0000 (16:05 -0400)]
macos: Stop setting the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:04:25 +0000 (16:04 -0400)]
wayland: Stop using the query_state vfunc
Just call the backend implementation directly.
Matthias Clasen [Wed, 26 Aug 2020 20:03:31 +0000 (16:03 -0400)]
broadway: Stop using the query_state vfunc
Just call the backend implementation directly.
Matthias Clasen [Wed, 26 Aug 2020 19:38:02 +0000 (15:38 -0400)]
Drop _gdk_device_query_state
It is now unused.
Matthias Clasen [Wed, 26 Aug 2020 19:33:37 +0000 (15:33 -0400)]
macos: Stop using _gdk_device_query_state
Directly use the backend implementation.
Matthias Clasen [Wed, 26 Aug 2020 19:31:45 +0000 (15:31 -0400)]
win32: Stop using _gdk_device_query_state
Directly use the backend implementation.
Matthias Clasen [Wed, 26 Aug 2020 19:31:07 +0000 (15:31 -0400)]
x11: Stop using _gdk_device_query_state
Directly use the backend implementation.
Matthias Clasen [Wed, 26 Aug 2020 18:02:18 +0000 (18:02 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3090
See merge request GNOME/gtk!2485
Matthias Clasen [Wed, 26 Aug 2020 17:52:57 +0000 (17:52 +0000)]
Merge branch 'broadway-prune' into 'master'
broadway: Prune fully clipped render nodes
Closes #3086
See merge request GNOME/gtk!2487
Alexander Larsson [Wed, 26 Aug 2020 16:08:00 +0000 (18:08 +0200)]
broadway: Prune fully clipped render nodes
If some node is fully outside the clip region we don't send it to the daemon.
This helps a lot in how much data we send for scrolling viewports.
However, sending partial trees makes node reuse a bit more tricky. We
can't save for reuse any node that could possibly clip different depending on
the clip region, as that could be different next frame. So, unless the
node is fully contained in the current clip (and we thus know it is not
parial) we don't allow reusing that next frame.
This fixes #3086
Fran Dieguez [Wed, 26 Aug 2020 15:42:23 +0000 (15:42 +0000)]
Update Galician translation
Alexander Larsson [Wed, 26 Aug 2020 14:55:56 +0000 (16:55 +0200)]
broadway: Track the clip region in the renderer
If we know what can't possibly be visible we may can later decide to
not expose a node.
Matthias Clasen [Wed, 26 Aug 2020 13:01:48 +0000 (09:01 -0400)]
Make gdk_surface_get_device_position return a boolean
A year ago, we make this function not return the child
surface anymore. But the information whether the device
is actually over the surface is still useful, and we
should not loose it.
Timm Bäder [Wed, 26 Aug 2020 12:38:09 +0000 (12:38 +0000)]
Merge branch 'broadway-debug-nodes' into 'master'
Broadway: Fix handling of debug nodes
See merge request GNOME/gtk!2486
Alexander Larsson [Wed, 26 Aug 2020 12:01:00 +0000 (14:01 +0200)]
Broadway: Fix handling of debug nodes
The debug nodes have id BROADWAY_NODE_DEBUG, which happens to be "12".
So, don't hardcode the wrong number "14".
Matthias Clasen [Wed, 26 Aug 2020 11:26:01 +0000 (07:26 -0400)]
main: Avoid a crash with crossing event handling
We are reusing the GtkCrossingData struct for multiple
calls here, so we need to make sure that the targets
stay alive from beginning to end.
Fixes: #3090
Matthias Clasen [Wed, 26 Aug 2020 11:24:54 +0000 (07:24 -0400)]
widget: Avoid a crash in crossing event handling
We need to make sure that the crossing data stays
alive until we are done handling it, so take references
on all the widgets in it.
Emmanuele Bassi [Wed, 26 Aug 2020 11:20:03 +0000 (11:20 +0000)]
Merge branch 'broadway-alpha-colors' into 'master'
broadway: Correct handling of opaque colors
See merge request GNOME/gtk!2484
Alexander Larsson [Wed, 26 Aug 2020 10:18:28 +0000 (12:18 +0200)]
broadway: Correct handling of opaque colors
If alpha is 255, we use rgb() instead of rgba(), not if alpha is 0.
This makes the title bar gradient go from fully transparent to blue
rather than black to blue..
Matthias Clasen [Tue, 25 Aug 2020 20:53:02 +0000 (20:53 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
fontchooser: Populate the list incrementally
See merge request GNOME/gtk!2483
Emmanuele Bassi [Tue, 25 Aug 2020 20:34:18 +0000 (20:34 +0000)]
Merge branch 'ebassi/for-master' into 'master'
Ebassi/for master
See merge request GNOME/gtk!2480
Aurimas Černius [Tue, 25 Aug 2020 20:23:57 +0000 (23:23 +0300)]
Updated Lithuanian translation
Matthias Clasen [Tue, 25 Aug 2020 20:19:49 +0000 (20:19 +0000)]
Merge branch 'demo-double-border-fixes' into 'master'
gtk-demo: Avoid double borders
See merge request GNOME/gtk!2478
Matthias Clasen [Tue, 25 Aug 2020 20:18:47 +0000 (20:18 +0000)]
Merge branch 'inspector-double-border-fixes' into 'master'
inspector: Avoid double borders
See merge request GNOME/gtk!2477
Matthias Clasen [Tue, 25 Aug 2020 19:13:39 +0000 (15:13 -0400)]
fontchooser: Populate the list incrementally
By adding 20 fonts / frame to the font list, we can
get the font chooser dialog to show up much faster.
This change gets the font chooser up in 265ms here.
Matthias Clasen [Tue, 25 Aug 2020 18:29:27 +0000 (18:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Revert unintentional calendar change
See merge request GNOME/gtk!2482
Matthias Clasen [Tue, 25 Aug 2020 18:12:35 +0000 (14:12 -0400)]
Revert unintentional calendar change
This was unintentionally included in
c0efadc0f399d.
Emmanuele Bassi [Tue, 25 Aug 2020 15:34:04 +0000 (16:34 +0100)]
a11y: Simplify the ATContext::state-change signal
We cannot pass all the data we pass to the virtual function, because the
types are private, but the class and the signal are public API.
The signal is just a notification, so we can decouple the virtual
function (which stays the same, for internal types that implement the
ATContext API contract) from the signal.
Emmanuele Bassi [Tue, 25 Aug 2020 10:31:26 +0000 (11:31 +0100)]
Annotate GValue-variants methods of GtkAccessible
The variadic arguments methods cannot be used by language bindings,
which means we can let them use their names when calling the
GValue-based methods.
Emmanuele Bassi [Tue, 25 Aug 2020 10:30:46 +0000 (11:30 +0100)]
Properly document GtkAccessible:accessible-role
Use a gtk-doc stanza, instead of the GParamSpec strings.
Emmanuele Bassi [Wed, 5 Aug 2020 17:05:46 +0000 (18:05 +0100)]
a11y: Do not notify of empty state changes
If the ATContext state hasn't changed—for instance, if the accessible
attributes have been set to their default value, or have been set to the
same value—do not emit an accessible state change. State changes can be
arbitrarily expensive, so we want to ensure that they are meaningful.
Emmanuele Bassi [Wed, 5 Aug 2020 17:04:34 +0000 (18:04 +0100)]
a11y: Notify callers when an attributes set changes
We can use that information inside the ATContext.
Emmanuele Bassi [Wed, 5 Aug 2020 14:05:06 +0000 (15:05 +0100)]
a11y: GtkATContext.update_state() was renamed to update()
Emmanuele Bassi [Wed, 5 Aug 2020 14:03:00 +0000 (15:03 +0100)]
a11y: Allow bulk attribute update with the GValue API
Like we do for the varargs API.
Emmanuele Bassi [Tue, 25 Aug 2020 15:32:49 +0000 (16:32 +0100)]
a11y: Different value types cannot be equal
Bail out early, instead of going deep into the GtkAccessibleValue type
equal() implementation, where we expect both accessible values to have
the same type.
Matthias Clasen [Tue, 25 Aug 2020 12:52:36 +0000 (12:52 +0000)]
Merge branch 'adwaita-rounded-frames' into 'master'
Adwaita: Make frames rounded
See merge request GNOME/gtk!2476
nana-4 [Thu, 6 Aug 2020 15:54:46 +0000 (00:54 +0900)]
gtk-demo: Avoid double borders in the blendmodes demo
nana-4 [Thu, 6 Aug 2020 15:54:44 +0000 (00:54 +0900)]
gtk-demo: Avoid double borders in the fontrendering demo
Replace the frame with a separator.
nana-4 [Thu, 6 Aug 2020 15:54:41 +0000 (00:54 +0900)]
gtk-demo: Avoid double borders in the dnd demo
Replace the frame with a separator.
nana-4 [Thu, 6 Aug 2020 15:54:42 +0000 (00:54 +0900)]
gtk-demo: Avoid double borders in the panes demo
Using frames for the children of the panes looks bad.